﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace XNA.Common
{
	public class TexturedVertices
	{
		#region CONSTRUCTION

		public TexturedVertices (Texture2D texture = null, IEnumerable<VertexPositionNormalTexture> vertices = null)
		{
			Texture = texture;
			Vertices = new List<VertexPositionNormalTexture> ();

			if (vertices != null)
			{
				Vertices.AddRange (vertices);
			}
		}

		#endregion
		
		#region PROPERTIES

		public Texture2D Texture
		{
			get;
			set;
		}

		public List<VertexPositionNormalTexture> Vertices
		{
			get;
			private set;
		}

		#endregion
	}
}
